package com.gxl.design.bridgepattern;

/**
 * @remark --
 * @author: GuoXiaolin
 * @date 2019/4/19 12:04
 * @Version 1.0
 * @Derction
 */
public class MyMake extends AbstractPeople {

    private Integer y;
    private Integer x;

    public MyMake(Integer y, Integer x, PeopleAPI peopleAPI) {
        super(peopleAPI);
        this.y = y;
        this.x = x;

    }

    @Override
    public void makePeople() {
        peopleAPI.makePeople(y,x);
    }
}
